//
//  THSearchFieldCell.swift
//  OneMeeting
//
//  Created by zhangheng on 2019/11/14.
//  Copyright © 2019 www.zhangheng.com. All rights reserved.
//

import Foundation

class THSearchFieldCell: NSSearchFieldCell {
    override init(textCell string: String) {
        super.init(textCell: string)
    }
    
    required init(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText {
        let text = super.setUpFieldEditorAttributes(textObj) as? NSTextView
        text?.insertionPointColor = color_gray(50)
        return text!
    }
}
